package cn.dancepeak.artcle.service;

import cn.dancepeak.article.domain.Article;
import cn.dancepeak.article.domain.ArticleType;
import cn.dancepeak.article.query.ArticleTypeQuery;
import cn.dancepeak.vo.ArticleTypeTree;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleTypeServiceImpl {

    void add(ArticleType articleType);

    void update(ArticleType articleType);

    void delete(Long id);

    void deleteByList(List<Long> ids);

    ArticleType getById(Long id);

    PageInfo<ArticleType> page(ArticleTypeQuery articleTypeQuery);

    List<ArticleTypeTree> tree();

    void updateState(ArticleType articleType);

}
